package com.ougy.reshop.model;

import java.math.BigDecimal;
import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.OneToOne;
import javax.persistence.Table;

import org.hibernate.annotations.Cache;
import org.hibernate.annotations.CacheConcurrencyStrategy;

@Entity
@Table(name="shop_point")
public class ShopPoint {

	private int id;
	private Shop shop;
	private Date statTime;

	
	private BigDecimal store_evaluate;
	private BigDecimal description_evaluate;
	private BigDecimal service_evaluate;
	private BigDecimal ship_evaluate;
	private BigDecimal description_evaluate_halfyear;
	private BigDecimal service_evaluate_halfyear;
	private BigDecimal ship_evaluate_halfyear;
	
	private int description_evaluate_halfyear_count5;
	private int description_evaluate_halfyear_count4;
	private int description_evaluate_halfyear_count3;
	private int description_evaluate_halfyear_count2;
	private int description_evaluate_halfyear_count1;
	private int service_evaluate_halfyear_count5;
	private int service_evaluate_halfyear_count4;
	private int service_evaluate_halfyear_count3;
	private int service_evaluate_halfyear_count2;
	private int service_evaluate_halfyear_count1;
	private int ship_evaluate_halfyear_count5;
	private int ship_evaluate_halfyear_count4;
	private int ship_evaluate_halfyear_count3;
	private int ship_evaluate_halfyear_count2;
	private int ship_evaluate_halfyear_count1;
	
	@OneToOne
	public Shop getShop() {
		return shop;
	}
	public void setShop(Shop shop) {
		this.shop = shop;
	}
	
	
	public Date getStatTime() {
		return statTime;
	}
	public void setStatTime(Date statTime) {
		this.statTime = statTime;
	}
	@Column(precision = 4, scale = 1)
	public BigDecimal getStore_evaluate() {
		return store_evaluate;
	}
	public void setStore_evaluate(BigDecimal store_evaluate) {
		this.store_evaluate = store_evaluate;
	}
	@Column(precision = 4, scale = 1)
	public BigDecimal getDescription_evaluate() {
		return description_evaluate;
	}
	public void setDescription_evaluate(BigDecimal description_evaluate) {
		this.description_evaluate = description_evaluate;
	}
	@Column(precision = 4, scale = 1)
	public BigDecimal getService_evaluate() {
		return service_evaluate;
	}
	public void setService_evaluate(BigDecimal service_evaluate) {
		this.service_evaluate = service_evaluate;
	}
	@Column(precision = 4, scale = 1)
	public BigDecimal getShip_evaluate() {
		return ship_evaluate;
	}
	public void setShip_evaluate(BigDecimal ship_evaluate) {
		this.ship_evaluate = ship_evaluate;
	}
	@Column(precision = 4, scale = 1)
	public BigDecimal getDescription_evaluate_halfyear() {
		return description_evaluate_halfyear;
	}
	public void setDescription_evaluate_halfyear(
			BigDecimal description_evaluate_halfyear) {
		this.description_evaluate_halfyear = description_evaluate_halfyear;
	}
	@Column(precision = 4, scale = 1)
	public BigDecimal getService_evaluate_halfyear() {
		return service_evaluate_halfyear;
	}
	public void setService_evaluate_halfyear(BigDecimal service_evaluate_halfyear) {
		this.service_evaluate_halfyear = service_evaluate_halfyear;
	}
	@Column(precision = 4, scale = 1)
	public BigDecimal getShip_evaluate_halfyear() {
		return ship_evaluate_halfyear;
	}
	public void setShip_evaluate_halfyear(BigDecimal ship_evaluate_halfyear) {
		this.ship_evaluate_halfyear = ship_evaluate_halfyear;
	}
	public int getDescription_evaluate_halfyear_count5() {
		return description_evaluate_halfyear_count5;
	}
	public void setDescription_evaluate_halfyear_count5(
			int description_evaluate_halfyear_count5) {
		this.description_evaluate_halfyear_count5 = description_evaluate_halfyear_count5;
	}
	public int getDescription_evaluate_halfyear_count4() {
		return description_evaluate_halfyear_count4;
	}
	public void setDescription_evaluate_halfyear_count4(
			int description_evaluate_halfyear_count4) {
		this.description_evaluate_halfyear_count4 = description_evaluate_halfyear_count4;
	}
	public int getDescription_evaluate_halfyear_count3() {
		return description_evaluate_halfyear_count3;
	}
	public void setDescription_evaluate_halfyear_count3(
			int description_evaluate_halfyear_count3) {
		this.description_evaluate_halfyear_count3 = description_evaluate_halfyear_count3;
	}
	public int getDescription_evaluate_halfyear_count2() {
		return description_evaluate_halfyear_count2;
	}
	public void setDescription_evaluate_halfyear_count2(
			int description_evaluate_halfyear_count2) {
		this.description_evaluate_halfyear_count2 = description_evaluate_halfyear_count2;
	}
	public int getDescription_evaluate_halfyear_count1() {
		return description_evaluate_halfyear_count1;
	}
	public void setDescription_evaluate_halfyear_count1(
			int description_evaluate_halfyear_count1) {
		this.description_evaluate_halfyear_count1 = description_evaluate_halfyear_count1;
	}
	public int getService_evaluate_halfyear_count5() {
		return service_evaluate_halfyear_count5;
	}
	public void setService_evaluate_halfyear_count5(
			int service_evaluate_halfyear_count5) {
		this.service_evaluate_halfyear_count5 = service_evaluate_halfyear_count5;
	}
	public int getService_evaluate_halfyear_count4() {
		return service_evaluate_halfyear_count4;
	}
	public void setService_evaluate_halfyear_count4(
			int service_evaluate_halfyear_count4) {
		this.service_evaluate_halfyear_count4 = service_evaluate_halfyear_count4;
	}
	public int getService_evaluate_halfyear_count3() {
		return service_evaluate_halfyear_count3;
	}
	public void setService_evaluate_halfyear_count3(
			int service_evaluate_halfyear_count3) {
		this.service_evaluate_halfyear_count3 = service_evaluate_halfyear_count3;
	}
	public int getService_evaluate_halfyear_count2() {
		return service_evaluate_halfyear_count2;
	}
	public void setService_evaluate_halfyear_count2(
			int service_evaluate_halfyear_count2) {
		this.service_evaluate_halfyear_count2 = service_evaluate_halfyear_count2;
	}
	public int getService_evaluate_halfyear_count1() {
		return service_evaluate_halfyear_count1;
	}
	public void setService_evaluate_halfyear_count1(
			int service_evaluate_halfyear_count1) {
		this.service_evaluate_halfyear_count1 = service_evaluate_halfyear_count1;
	}
	public int getShip_evaluate_halfyear_count5() {
		return ship_evaluate_halfyear_count5;
	}
	public void setShip_evaluate_halfyear_count5(int ship_evaluate_halfyear_count5) {
		this.ship_evaluate_halfyear_count5 = ship_evaluate_halfyear_count5;
	}
	public int getShip_evaluate_halfyear_count4() {
		return ship_evaluate_halfyear_count4;
	}
	public void setShip_evaluate_halfyear_count4(int ship_evaluate_halfyear_count4) {
		this.ship_evaluate_halfyear_count4 = ship_evaluate_halfyear_count4;
	}
	public int getShip_evaluate_halfyear_count3() {
		return ship_evaluate_halfyear_count3;
	}
	public void setShip_evaluate_halfyear_count3(int ship_evaluate_halfyear_count3) {
		this.ship_evaluate_halfyear_count3 = ship_evaluate_halfyear_count3;
	}
	public int getShip_evaluate_halfyear_count2() {
		return ship_evaluate_halfyear_count2;
	}
	public void setShip_evaluate_halfyear_count2(int ship_evaluate_halfyear_count2) {
		this.ship_evaluate_halfyear_count2 = ship_evaluate_halfyear_count2;
	}
	public int getShip_evaluate_halfyear_count1() {
		return ship_evaluate_halfyear_count1;
	}
	public void setShip_evaluate_halfyear_count1(int ship_evaluate_halfyear_count1) {
		this.ship_evaluate_halfyear_count1 = ship_evaluate_halfyear_count1;
	}
	@Id
	@GeneratedValue
	public int getId() {
		return id;
	}
	public void setId(int id) {
		this.id = id;
	}
	
	
	
	
}

